<p>
	<h3><a href="<?php echo $this->url(array('controller'=>'registry', 'action'=>'add')); ?>">Add new application</a></h3><br /><br />
</p>
<table class="list" cellspacing="0" cellpadding="0">
	<tr>
		<th>User ID</th>
		<th>API key</th>
		<th>API secret</th>
		<th>Req name</th>	
		<th>Req email</th>
		<th>Callback URI</th>	
		<th>App title</th>
		<th>Issued date</th>
		<th>Enabled</th>
		<th>&nbsp;</th>
	</tr>
<?php foreach($this->registries as $reg) { ?>
	<tr>
		<td><?php echo $this->escape($reg->user_id);?></td>
		<td style="color:blue"><?php echo $this->escape($reg->consumer_key);?></td>
		<td style="color:red"><?php echo $this->escape($reg->consumer_secret);?></td>
		<td><?php echo $this->escape($reg->requester_name);?></td>	
		<td><?php echo $this->escape($reg->requester_email);?></td>
		<td><?php echo $this->escape($reg->callback_uri);?></td>
		<td><?php echo $this->escape($reg->app_title);?></td>
		<td><?php echo $this->escape($reg->issued_date);?></td>
		<td><?php echo $this->escape($reg->enabled);?></td>
		<td>
			<a href="<?php echo $this->url(array('controller'=>'registry', 
			'action'=>'edit', 'id'=>$reg->id));?>">Edit</a>
			<a href="<?php echo $this->url(array('controller'=>'registry', 
			'action'=>'delete', 'id'=>$reg->id));?>">Delete</a>
		</td>
	</tr>
<?php } ?>
</table>